/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "整车基本信息表",TableName = "yjy_whole_info")]
    public partial class yjy_whole_info:BaseEntity
    {
        /// <summary>
       ///整车基本信息id
       /// </summary>
       [Key]
       [Display(Name ="整车基本信息id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid yjy_whole_info_id { get; set; }

       /// <summary>
       ///整车物料号
       /// </summary>
       [Display(Name ="整车物料号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string materialnum { get; set; }

       /// <summary>
       ///整车物料号名称
       /// </summary>
       [Display(Name ="整车物料号名称")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string materialnum_name { get; set; }

       /// <summary>
       ///公司类型
       /// </summary>
       [Display(Name ="公司类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? type { get; set; }

       /// <summary>
       ///车辆类型
       /// </summary>
       [Display(Name ="车辆类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? car_type { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string describe { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? status { get; set; }

       /// <summary>
       ///是否删除（1：未删除；2：删除）
       /// </summary>
       [Display(Name ="是否删除（1：未删除；2：删除）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? is_delele { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建日期
       /// </summary>
       [Display(Name ="创建日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改日期
       /// </summary>
       [Display(Name ="修改日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifierDate { get; set; }

       /// <summary>
       ///bom同步状态：1 同步 0 未同步
       /// </summary>
       [Display(Name ="bom同步状态：1 同步 0 未同步")]
       [Column(TypeName="int")]
       public int? bom_state { get; set; }

       /// <summary>
       ///price同步状态：1同步 0 未同步
       /// </summary>
       [Display(Name ="price同步状态：1同步 0 未同步")]
       [Column(TypeName="int")]
       public int? price_state { get; set; }

       
    }
}